﻿using System.Collections.Generic;

namespace EYCmsAdmin.Domain.Models
{
    public class User : BaseDomainModel
    {
        public virtual string Login { get; set; }

        public virtual string Password { get; set; }

        public virtual string PasswordSalt { get; set; }

        public virtual string Email { get; set; }

        public virtual bool IsDeleted { get; set; }

        public virtual bool IsDeactivated { get; set; }

        public virtual UserInfo UserInfo { get; set; }

        public virtual IList<Role> Roles { get; set; }

        public virtual IList<Permission> Permissions { get; set; } 
    }
}